//
//  BSTitleButton.m
//  baisibudejie
//
//  Created by 陈博文 on 15/12/22.
//  Copyright © 2015年 陈博文. All rights reserved.
//

#import "BSTitleButton.h"

@implementation BSTitleButton


-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        
        [self setTitleColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
        [self setTitleColor:[UIColor redColor] forState:UIControlStateSelected];
        //设置字体大小
        self.titleLabel.font = [UIFont systemFontOfSize:13];
        
//        self.titleLabel.backgroundColor = [UIColor yellowColor];
        
    }
    return self;
}


//废除舍hi在高亮状态
-(void)setHighlighted:(BOOL)highlighted{
    
}

@end
